<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Estoque - Fotos Produtos</title>

<link rel="stylesheet" type="text/css" href="../../includes/css/azul.css">

<script language="javascript" type="text/javascript" src="../../includes/classes/class.Geral.js"></script>
<script language="javascript" type="text/javascript" src="../../includes/js/jquery-1.4.4.js"></script>
<script language="javascript" type="text/javascript" src="../../javascript/inicial.js"></script>
<script language="javascript" type="text/javascript" src="../../javascript/estoque/popup_produtos_fotos.js"></script>
</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<fieldset>
<legend>
<font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
<b>Fotos Produtos</b>
</font>
</legend>

<form action="popup_produtos_fotos_man.php?evento=inserir" method="post" name="form" enctype="multipart/form-data">
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td align="center" valign="middle" height="8">
    </td>
    </tr>

    <tr>
    <td>
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Foto</strong> 
    </font>
    &nbsp;
	<input type="file" name="foto" size="10"> 
    &nbsp;
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Legenda</strong> 
    </font>
    &nbsp;
    <input type="text" name="legenda" size="15">   
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    <strong>&nbsp;&nbsp;Ordem</strong> 
    </font>
    &nbsp;
    <input type="text" name="ordem" size="5" maxlength="2">   
    <input type="hidden" name="id_cad" value="{id_cad}" />
    <input type="button" value="Inserir" onClick="form.submit();">
    
    
    </td>
    </tr>
    
    <tr>
    <td align="center" valign="middle" height="8">
    </td>
    </tr>
</table>
</form>
</fieldset>

<br />
<fieldset>
<div align="right">
<input type="button" value="Mostra no Site" onClick="altera_foto_site(1);">
&nbsp;
<input type="button" value="N&atilde;o mostra no Site" onClick="altera_foto_site(0);">
&nbsp;
<input type="button" value="Excluir" onClick="excluir_produtos_fotos();">
&nbsp;
<input type="button" value="Fechar" onClick="fechaTelas_produtos_fotos();">
</div>
</fieldset>
<br />

<fieldset>

<div id="lista" style="overflow:auto; height:200px; width:100%; border: 0px; background: #FFF;" >
<br />
<form action="#" method="post" name="form2">

<table cellpadding="0" cellspacing="0" width="98%">
<tr class="barra_titulo_consultas">
<td width="2%" height="30"></td>
<td valign="middle" align="left" colspan="2">
&nbsp;
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>Foto(s) vinculada(s) ao produto</b>
</font>
</td>
<td width="10%" height="30" align="center">
<font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">
<b>Ordem</b>
</font>
</td>
</tr>

<!-- START BLOCK : LOOP -->
<tr style="background-color:{cor};" onMouseOver="javascript:this.style.backgroundColor='#dce3e9'" onMouseOut="javascript:this.style.backgroundColor='{cor}'">
	<td valign="middle" height="30">
    <center>
    <input type="checkbox" id="ck{cont}" name="ck{cont}" value="{par_id}" />
    </center>
    </td>
	<td width="8%" align="center" valign="middle" height="50">
    {imagem} 
    </td>
	<td width="80%" align="left" valign="middle">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; {nome}
    </font>
    </td>
	<td align="center" valign="middle">
    <font color="#000000" size="2" face="Arial, Helvetica, sans-serif">
    &nbsp; {ordem}
    </font>
    </td>
</tr>
<!-- END BLOCK : LOOP -->

</table>
</form>
</div>
</fieldset>

</body>
</html>
